/**
 * 
 */
package com.nh.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 项目名称：NotoginsengManage
 * 
 * 类名称：NgExpertInterlocution
 * 
 * 类描述： 专家咨询
 * 
 * 创建人：李兴建
 * 
 * E-mail:lxj08193@163.com
 * 
 * 创建时间：2012-11-11 下午06:37:15
 * 
 * 修改人：李兴建
 * 
 * 修改时间：2012-11-11 下午06:37:15
 * 
 * 修改备注：
 * 
 * @version
 */
@Entity
@Table(name = "ng_expertInterlocution")
public class NgExpertInterlocution extends BaseEntity {
	// 问题
	private String question;
	// 问题时间
	private Timestamp questionTime; 
    //状态：0 示回复  1：已回复
	private int state;
	// 回复
	private String answer;
	// 回复时间
	private Timestamp answerTime;
	// 用户描述
	private String userDiscription;
	// 用户id
	private Long userid;
	// 专家
	private Long adminId;
	// 专家描述
	private String adminDiscription;

	/**
	 * @return the question
	 */
	@Column(name = "question", columnDefinition = "TEXT")
	public String getQuestion() {
		return question;
	}

	/**
	 * @param question
	 *            the question to set
	 */
	public void setQuestion(String question) {
		this.question = question;
	}

	/**
	 * @return the questionTime
	 */
	public Timestamp getQuestionTime() {
		return questionTime;
	}

	/**
	 * @param questionTime
	 *            the questionTime to set
	 */
	public void setQuestionTime(Timestamp questionTime) {
		this.questionTime = questionTime;
	}

	/**
	 * @return the answer
	 */
	@Column(name = "answer", columnDefinition = "TEXT")
	public String getAnswer() {
		return answer;
	}

	/**
	 * @param answer
	 *            the answer to set
	 */
	public void setAnswer(String answer) {
		this.answer = answer;
	}

	/**
	 * @return the answerTime
	 */
	public Timestamp getAnswerTime() {
		return answerTime;
	}

	/**
	 * @param answerTime
	 *            the answerTime to set
	 */
	public void setAnswerTime(Timestamp answerTime) {
		this.answerTime = answerTime;
	}

	/**
	 * @return the userDiscription
	 */
	public String getUserDiscription() {
		return userDiscription;
	}

	/**
	 * @param userDiscription
	 *            the userDiscription to set
	 */
	public void setUserDiscription(String userDiscription) {
		this.userDiscription = userDiscription;
	}

	/**
	 * @return the userid
	 */
	public Long getUserid() {
		return userid;
	}

	/**
	 * @param userid
	 *            the userid to set
	 */
	public void setUserid(Long userid) {
		this.userid = userid;
	}

	/**
	 * @return the adminId
	 */
	public Long getAdminId() {
		return adminId;
	}

	/**
	 * @param adminId
	 *            the adminId to set
	 */
	public void setAdminId(Long adminId) {
		this.adminId = adminId;
	}

	

	/**
	 * @return the adminDiscription
	 */
	public String getAdminDiscription() {
		return adminDiscription;
	}

	/**
	 * @param adminDiscription the adminDiscription to set
	 */
	public void setAdminDiscription(String adminDiscription) {
		this.adminDiscription = adminDiscription;
	}

	/**
	 * @return the state
	 */
	public int getState() {
		return state;
	}

	/**
	 * @param state the state to set
	 */
	public void setState(int state) {
		this.state = state;
	}

}
